package com.shou.infrastructure.persistent.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shou.infrastructure.persistent.po.ReservationPO;
import org.apache.ibatis.annotations.Mapper;

/**
* @author Nemo
* @description 针对表【reservation(预定表，用于管理车位的预定情况)】的数据库操作Mapper
* @createDate 2025-02-07 22:10:51
*/
@Mapper
public interface IReservationDao extends BaseMapper<ReservationPO> {
    int insertSelective(ReservationPO record);

    int updateByPrimaryKeySelective(ReservationPO record);

    IPage<ReservationPO> selectPageMessageByCondition(Page<ReservationPO> page, Integer userId, String spaceCode, String status, String remark, String sortName, Integer sort);
}




